package com.yun.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yun.entity.Files;

public interface FileDao {
  public int addFile(Files file);
  public  List<Files> readFile(int userId);
  public  List<Files> readFileByTypeId(Files file);
  public Files findFileByFileId(@Param("fileId")int fileId);
  public int delFileByFileId(@Param("fileId")int fileId);
  public Files selectByFileId(int fileId);
}
